]> dgit.raspbian.org Git - gnome-shell.git/commit
altTab: Check for reentrancy in override function of _onItemMotion()
authorJonas Dreßler <verdre@v0yd.nl>
Wed, 25 Apr 2018 19:34:00 +0000 (21:34 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 25 Jan 2022 20:03:01 +0000 (20:03 +0000)
commit7f65fa49db1dcc8df91627bf30df58427056d3af
tree4226e40d0f3d1207637a65f57c4365b4bb997af7
parent1e2a10f83b878a9bbf3d51e042c67ef741c348fd
altTab: Check for reentrancy in override function of _onItemMotion()

Just like in the parent _onItemMotion() function, we should check for
reentrancy in our override.

Because the hover timeout will prevent a new selection from happening
for some time, in addition to checking for this._highlighted reentrancy,
we also need to track the item that's being hovered during the timeout.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2098>
js/ui/altTab.js